package demo1;

public class Demo1 {

	static String name;
	
	String eyeName; 
	
	public static void main(String[] args) {
		/*
		int a = 1;
		
		{
			a =2;
			System.out.println("时代发生地方");
		}
		
		System.out.println("a="+a);*/
		/*int i =1;
		while(i <= 6){
			method1(i,2);
			i++;
		}*/
		int i =0;
		while(i <= 4){
			method1(i);
			i++;
		}
		System.out.println("i is "+ i);
	}
	
	public static void method1(int i,int num){
		
		for(int j = 1;j <= i;j++){
			System.out.print(num+" ");
			num *= 2;
		}
		System.out.println();
	}
	
	public static void method1(int i){
		do{
			if(i % 3 != 0)
				System.out.print(i+" ");
			i--;
			
		}while(i >= 1);
		System.out.println();
	}
}
